package eScrum.panels;

import org.apache.wicket.markup.html.basic.Label;
import org.apache.wicket.markup.html.form.Form;
import org.apache.wicket.markup.html.form.TextField;
import org.apache.wicket.markup.html.panel.Panel;
import org.apache.wicket.model.PropertyModel;


/**
 * Author: mariusb
 */

public class CreateProjectPopUp extends Panel {


	private static final long serialVersionUID = -5922321643778400147L;
	
	private String projectName = "Default";
	//FeedbackPanel feedback = new FeedbackPanel("feedback");

	public CreateProjectPopUp(String id) {
		super(id);
		PropertyModel<String> messageModel = new PropertyModel<String>(this, "projectName");
        add(new Label("msg", messageModel));
        Form<?> form = new Form("form");
        form.add(new TextField<String>("msgInput", messageModel));
        add(form);
	}

	public String getProjectName() {
		return projectName;
	}

	public void setProjectName(String projectName) {
		this.projectName = projectName;
	}
	
	
	

}
